package com.wyd.strategy.demo1;

/**
 * @author Yudi Wang
 * @date 2022/1/5 16:41
 */
public class RubberDuck extends Duck {
    @Override
    protected void quack() {
        System.out.println("mute");
    }

    @Override
    protected void fly() {
        System.out.println("dont fly");
    }
}
